Netbeans on MAC, cvs over ssh connection problems


Netbeans on MAC, cvs over ssh connection problems

Posted by Luis Majano
Mar 23, 2006 00:00:00 UTC
I need help trying to make netbeans 5.0 connect to my CVS repository via SSH. I have created my ssh keygen pairs on my laptop and on the server, so when I go into the terminal and type:

ssh -l luis www.domain.com

I get logged in directly without any challenge. My key pairs work. I then go to Netbeans to the CVS module and click checkout.

I fill out the EXT part of the repository and for ssh connection I choose external shell and type:

ssh -l luis www.domain.com

Then click on next and it says "Checking network connection...."

It stays there forever.....

I am not behind a firewall or proxy. So I have no clue whatsoever, what wuold be wrong. Under Eclipse, cvs just connects fine!! So its not my connection.

Please help!!! Netbeans is my IDE of choice for JAVA development, but I need to start verisoning using CVS and I cannot make this work. Thanks

 


Luigi Salimbeni

Apparently, Netbeans can't handle the password exchange procedure that sshd now uses when the client must interactively type the password (the so called "keyboard interactive" login). An acceptable workaround is to enable the "PasswordAuthentication yes" option in the sshd_config, thus letting the CVS client use the old password tunneling mechanism. Thanks to my colleague Fabio Giudici who investigated on the problem.

Luis Majano

Thanks Luigi,

Where is the sshd_config? Is that in the gui? Sorry, kinda in the dark here.

Jrme Ruillier

The file /etc/ssh/sshd_config is on the server. (/etc/sshd_config if the server is a mac)

After the update, you should restart sshd (as root, /etc/init.d/sshd restart)

Jrme Ruillier

The file /etc/ssh/sshd_config is on the server. (/etc/sshd_config if the server is a mac)

After the update, you should restart sshd (as root, /etc/init.d/sshd restart)

Jrme Ruillier

The file /etc/ssh/sshd_config is on the server. (/etc/sshd_config if the server is a mac)

After the update, you should restart sshd (as root, /etc/init.d/sshd restart)

Jrme Ruillier

The file /etc/ssh/sshd_config is on the server. (/etc/sshd_config if the server is a mac)

After the update, you should restart sshd (as root, /etc/init.d/sshd restart)

Site Updates

Entry Comments

Archives

Entries Search